<aside>
    <header><?php echo __('contacts') ?></header>
    <ul class="list">
        <li>
            <a href="/contact/all" class="internal_action">
                <div class="list_main_container <?php if(isset($menu_selected) AND $menu_selected == 1) echo 'active' ?>">
                    <div class="app_icon icon_contact">
                        <p class="mini_name"><?php echo __('my contacts') ?></p>
                        <p class="mini_info"><?php echo __('manage your contact list') ?></p>
                    </div>
                </div>
            </a>
        </li>
	<li><a href="/contact/pending_requests" class="internal_action">
                <div class="list_main_container <?php if(isset($menu_selected) AND $menu_selected == 2) echo 'active' ?>">
                    <div class="app_icon icon_add_contact">
                        <p class="mini_name"><?php echo __('invitations') ?></p>
                        <p class="mini_info"><?php echo __('show all invitations') ?></p>
                    </div>
                </div>
            </a>
        </li>
	<li>
            <a href="/contact/find" class="internal_action">
                <div class="list_main_container <?php if(isset($menu_selected) AND $menu_selected == 3) echo 'active' ?>">
                    <div class="app_icon icon_find">
                        <p class="mini_name"><?php echo __('find contacts') ?></p>
                        <p class="mini_info"><?php echo __('people you may know') ?></p>
                    </div>
                </div>
            </a>
        </li>
    </ul>
</aside>
<section>
    <?php echo $content ?>
</section>


<script type="text/javascript">
    
   head.ready(function() {
       site.init('contact-view');
   });
        
</script>